createInMemory

fun createInMemory(context: Context): KmpWorkerDatabase

Creates an in-memory KmpWorkerDatabase for testing. Data is lost when the database is closed.